#!/bin/bash


a=(`cat singer.txt`)
singer_num=${#a[@]}
for i in $(seq $singer_num)
do
        luck_num=$((RANDOM%${#a[@]}))
        echo "total:${#a[@]} singers"
        echo "${a[luck_num]}"
        unset a[luck_num]
        a=(${a[@]})
        read -n 1 -p "please input any key to continue"
        echo
done

